﻿#include "timer.h"

Timer::Timer(QObject *parent,const QString &uid)
    :  QTimer(parent),_uid(uid)
{
    connect(this,&QTimer::timeout,this,&Timer::rise);
}

QString Timer::getUid() const
{
    return _uid;
}

void Timer::rise()
{
    emit raise(_uid);
}
